package com.hero.consumer.service.impl;

import com.hero.common.UserEntity;
import com.hero.consumer.service.UserFeignClient;
import org.springframework.stereotype.Component;

@Component
public class UserFeignClientFallBack  implements UserFeignClient {
    @Override
    public String login(int count ) {
        return "出现异常" + count;
    }

    @Override
    public String loginParam(String userName, String password) {
        return "出现异常";
    }

    @Override
    public String loginJson(UserEntity userInfo) {
        return "出现异常";
    }
}
